﻿@using LSEntity
@using LSBLL
@using LSUtility
@model TestClassEntity
<div id="rqSetClass" style="position: fixed; z-index: 1988; visibility: visible; display: none;">
    <div class="d-outer   d-state-focus d-state-lock d-state-visible">
        <table class="d-border">
            <tbody>
                <tr>
                    <td class="d-nw"></td>
                    <td class="d-n"></td>
                    <td class="d-ne"></td>
                </tr>
                <tr>
                    <td class="d-w"></td>
                    <td class="d-c">
                        <div class="d-inner">
                            <table class="d-dialog">
                                <tbody>
                                    <tr>
                                        <td class="d-header">
                                            <div class="d-titleBar">
                                                <div class="d-title" style="display: block;">
                                                    登入
                                                </div>
                                                <a id="btnSetClassClose" class="d-close" href="javascript:/*artDialog*/;" style="display: block;">×</a>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="d-main" style="width: auto; height: auto;">
                                            <div class="d-content" style="padding: 20px 25px; height: 400px;">
                                                <div id="box" style="display: block;">
                                                    <div class="tanchuce">
                                                        @using (Html.BeginForm("Index", "Teacher", FormMethod.Post, new { name = "formSetClass", id = "formSetClass" }))
                                                        {
                                                            @Html.HiddenFor(m => m.TestId)
                                                            @Html.HiddenFor(m => m.TestType)
                                                            <div class="tanchucetop">
                                                                <p>
                                                                    考试时长：@Html.TextBoxFor(m => m.UserTime)
                                                                </p>
                                                                <p>
                                                                    开始时间：@Html.TextBoxFor(m => m.BeginTime, new { onclick = "WdatePicker();" })
                                                                </p>
                                                                <p>
                                                                    试卷密码：@Html.TextBoxFor(m => m.PassWord)
                                                                </p>
                                                                <p>
                                                                    考试班级：@{
                                                                             var myclass = ViewBag.MyClass as List<MemberClassEntity>;
                                                                             @myclass.MySelect(m => m.ClassId,
                                                                                               m => m.ClassName,
                                                                                               htmlAttributes: new {@class = "bbb"},
                                                                                               name: String.Empty,
                                                                                               defaultSelect: new CommonList<int, string>
                                                                                                                  {
                                                                                                                      Tt1 = 0,
                                                                                                                      Tt2 = "选择班级"
                                                                                                                  })
                                                                         }
                                                                </p>
                                                                <p>
                                                                    <input type="submit" value="submit" id="btnSetClassSubmit" />
                                                                </p>
                                                            </div>
                                                        }
                                                    </div>
                                                </div>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="d-footer">
                                            <div class="d-buttons" style="display: none;">
                                            </div>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </td>
                    <td class="d-e"></td>
                </tr>
                <tr>
                    <td class="d-sw"></td>
                    <td class="d-s"></td>
                    <td class="d-se"></td>
                </tr>
            </tbody>
        </table>
    </div>
</div>
